package com.ganyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ganyu.domain.entity.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 标签(Tag)表数据库访问层
 *
 * @author chenxi
 * @since 2022-09-27 23:32:21
 */
@Mapper
public interface TagMapper extends BaseMapper<Tag> {
    //查询所有标签
    List<Tag> getTagList();
    //获取标签数量
    int selectTagCount();
    //批量删除标签
    void deleteTagById(@Param("ids")Long[] ids);
}

